package com.youhome.mapper;

import com.youhome.model.BShareGroup;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BShareGroupMapper {
    int deleteByPrimaryKey(String shareId);

    int insert(BShareGroup record);

    int insertSelective(BShareGroup record);

    BShareGroup selectByPrimaryKey(String shareId);

    int updateByPrimaryKeySelective(BShareGroup record);

    int updateByPrimaryKey(BShareGroup record);

    List<BShareGroup> selectByBean(BShareGroup record);

    int deleteByShareIdAndCounselorId(BShareGroup bShareGroup);

}